﻿using System.Collections.ObjectModel;
using Oxage.Common;

namespace Oxage.Models
{
	public partial class MachineViewModel : ViewModelBase
	{
		#region Constructor
		public MachineViewModel()
		{
			this.Axes = new ObservableCollection<AxisViewModel>();
		}
		#endregion

		#region Public properties
		public string Name
		{
			get
			{
				return this.name;
			}
			set
			{
				if (this.name != value)
				{
					this.name = value;
					OnPropertyChanged("Name");
				}
			}
		}
		private string name;

		public ObservableCollection<AxisViewModel> Axes
		{
			get
			{
				return this.axes;
			}
			set
			{
				if (this.axes != value)
				{
					this.axes = value;
					OnPropertyChanged("Axes");
				}
			}
		}
		private ObservableCollection<AxisViewModel> axes;
		#endregion
	}
}
